/*eslint-env mocha*/
/*global BOOMR_test,assert*/

describe("e2e/21-continuity/37-touchstart", function() {
	var tf = BOOMR.plugins.TestFramework;
	var t = BOOMR_test;

	it("Should have sent a single beacon validation", function(done) {
		t.validateBeaconWasSent(done);
	});

	it("Should not have sent touchstart timeline (c.t.ts)", function() {
		var b = tf.lastBeacon();
		assert.isUndefined(b["c.t.ts"], "c.t.ts should have been present");
	});

	it("Should have sent FID metric for touchstart interaction (c.fid)", function() {
		var b = tf.lastBeacon();
		assert.isDefined(b["c.fid"], "c.fid should have been present");
	});
});
